import request from '@/utils/request'

export default {
  // 课程确认信息显示
  getCourseList() {
    return request({
      url: `/eduservice/course`,
      method: 'get'
    })
  },
  getCourseListPage(page, limit, courseQuery) {
    return request({
      url: `/eduservice/course/getCourseListPage/${page}/${limit}`,
      method: 'post',
      data: courseQuery
    })
  },
  updateCourseInfo() {

  },
  updateCourseIndex() {

  },
  deleteCourse(courseId) {
    return request({
      url: `/eduservice/course/${courseId}`,
      method: 'delete'
    })
  }
}

